package cn.iocoder.yudao.module.distm.controller.admin.loss.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 配送管理-餐食损耗记录新增/修改 Request VO")
@Data
public class MealLossRecordSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16441")
    private Long id;

    @Schema(description = "车辆信息")
    private String carInfo;

    @Schema(description = "销售数量(份)")
    private Integer salesQty;

    @Schema(description = "配送数量(份)")
    private Integer deliveryQty;

    @Schema(description = "离港人数")
    private Integer departingQty;

    @Schema(description = "载客人数")
    private Integer seatingQty;

    @Schema(description = "进港航班")
    private String inboundFlight;

    @Schema(description = "航班号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "航班号不能为空")
    private String flightNo;

    @Schema(description = "起飞地点")
    private String depLoc;

    @Schema(description = "起飞站点三字代码")
    private String depIata;

    @Schema(description = "降落地点")
    private String arrLoc;

    @Schema(description = "降落站点三字代码")
    private String arrIata;

    @Schema(description = "机号")
    private String aircraftNo;

    @Schema(description = "是否机供", example = "1不配供机;2外站;3其他")
    private String supplyType;

    @Schema(description = "机型", example = "1")
    private String aircraftType;

    @Schema(description = "航空公司", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "航空公司不能为空")
    private String airline;

    @Schema(description = "航班日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "航班日期不能为空")
    private LocalDate flightDate;

    @Schema(description = "备注说明")
    private String remarks;

}